package com.sprometheus.event;

import com.sprometheus.core.pojo.GlobalExceptionBO;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author Goslee
 * @date 2024/9/5 下午4:56
 */
@Getter
public class GlobalExpEvent extends ApplicationEvent {

    private final GlobalExceptionBO message;

    public GlobalExpEvent(Object source, GlobalExceptionBO message) {
        super(source);
        this.message = message;
    }

}
